package com.yjps.common.util;

import java.util.HashMap;
import java.util.Map;

/**
 * 码表类名字常量
 * Created by jessy on 2015/8/26.
 */
public class ContantsUtil {
    public static Map<String,String> map = new HashMap<>();
    public static Map init(){
        map.put(CODETYPE_HOUSE,"house");
        map.put(CODETYPE_CITY,"city");
        map.put(CODETYPE_COUNTY,"county");
        map.put(CODETYPE_TOWN,"town");
        map.put(CODETYPE_AREA,"area");
        map.put(CODETYPE_BUILDING,"building");
        return map;
    }
    /**
     * 房子类型
     */
    public static String CODETYPE_HOUSE = "0";
    /**
     * 城市
     */
    public static String CODETYPE_CITY = "1";
    /**
     * 县区
     */
    public static String CODETYPE_COUNTY = "2";
    /**
     * 城镇
     */
    public static String CODETYPE_TOWN = "3";
    /**
     * 地区
     */
    public static String CODETYPE_AREA = "4";
    /**
     * 楼盘房源类型
     */
    public static String CODETYPE_BUILDING = "5";
}
